const webpack = require('webpack')
module.exports = {
  lintOnSave: false,
   publicPath: './',
  css:{
       loaderOptions:{
         css:{},
         postcss:{
           plugins:[
             require('postcss-px2rem')({
               remUnit:37.5
             })
            ]
         }
       }
  },
  chainWebpack: config => {
    config.plugin('provide').use(webpack.ProvidePlugin, [{
        $: 'jquery',
        jquery: 'jquery',
        jQuery: 'jquery',
        'window.jQuery': 'jquery'
    }])
}
}
